import request from '@/plugins/axios'
import qs from 'qs'
export default {
  getListBanner() {
    return request({
      url: `/home/getBanner`,
      method: 'get'
    })
  },
  saveBanner(banner) {
      return request({
        url: `/home/saveBanner`,
        method: 'post',
        data: qs.stringify(banner)
      })
  },
  logout() {
    return request({
      url:`/user/logout`,
      method:'post'
    })
  },
  selectAllLeft() {
    return request({
      url: `/home/selectAllLeft`,
      method: 'get'
    })
  },
  selectAllMid() {
    return request({
      url: `/home/selectAllMid`,
      method: 'get'
    })
  },
  selectAllRight() {
    return request({
      url: `/home/selectAllRight`,
      method: 'get'
    })
  },
}